package com.senter.data.dbflow.model;

import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.ManyToMany;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.senter.data.dbflow.db.DemoDataBase;

@Table(name = "project",database = DemoDataBase.class)
@ManyToMany(referencedTable = Person.class)
public class Project {

    @PrimaryKey(autoincrement = true)
    private int id;

    @Column
    private String projectName;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }
}
